/*
 * CarlosListener.java
 *
 * Created on 29 de Junho de 2007, 10:36
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package Carlos;

import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.CommandListener;
import javax.microedition.lcdui.Displayable;

/**
 *
 * @author JAKE
 */
public class CarlosListener implements CommandListener{
    
    /**
   * the command to end the game.
   */
  private Command myExitCommand = new Command("Exit", Command.EXIT, 99);
    
    /**
   * the command to start moving when the game is paused.
   */
  private Command myGoCommand = new Command("Go", Command.SCREEN, 1);

  /**
   * the command to pause the game.
   */
  private Command myPauseCommand = new Command("Pause", Command.SCREEN, 1);

  /**
   * the command to start a new game.
   */
  private Command myNewCommand = new Command("Play Again", Command.SCREEN, 1);
  
  
    
    /** Creates a new instance of CarlosListener */
    public CarlosListener() {
    }

    public Command getMyGoCommand() {
        return myGoCommand;
    }

    public void setMyGoCommand(Command myGoCommand) {
        this.myGoCommand = myGoCommand;
    }

    public Command getMyPauseCommand() {
        return myPauseCommand;
    }

    public void setMyPauseCommand(Command myPauseCommand) {
        this.myPauseCommand = myPauseCommand;
    }

    public Command getMyNewCommand() {
        return myNewCommand;
    }

    public void setMyNewCommand(Command myNewCommand) {
        this.myNewCommand = myNewCommand;
    }

    public Command getMyExitCommand() {
        return myExitCommand;
    }

    public void setMyExitCommand(Command myExitCommand) {
        this.myExitCommand = myExitCommand;
    }

    public void commandAction(Command command, Displayable displayable) {
    }
    
   
    
}
